package com.cjy.userReport.service.complaint;

import com.base.common.entity.ComplaintTicket;
import com.base.common.persistent.model.Ticket;
import com.cjy.common.bean.Files;
import com.cjy.userReport.service.base.TicketBaseService;

import java.util.List;

/**
 * 投诉service
 * 
 * @author Administrator
 *
 */
public interface ComplaintService extends TicketBaseService{
	
	/**
	 * 根据用户获取投诉信息列表
	 * 
	 * @param userId
	 * @param page
	 * @return
	 */
	List<ComplaintTicket> getComplaintMessagesByUser(int userId, int page);

	/**
	 * 提交投诉信息
	 * 
	 * @param ticket
	 * @param files
	 * @param basePath
	 * @param bid 
	 * @return
	 */
	String subComplaintMessage(Ticket ticket, Files files, String basePath, int bid);
}
